#include "cell/cell.h"
#include <iostream>
using namespace std;

int main() {
    cout << "Driver Cell" << endl;
    Cell C1;
    Cell C2(2,2,'A');
    Cell C3=C2;
    C1 = C3;
	Cell C4(8,3,'N');
	cout << "C2.IsUp(C4):" << C2.IsUp(C4) << endl << "C2.IsRight(C4):" << C2.IsRight(C4) 
	<< endl << "C2.IsLeft(C4):" << C2.IsLeft(C4) << endl << "C2.IsDown(C4):" << C2.IsDown(C4) << endl;
	Cell C5 (4,0,'B');
	Cell C6 (0,0,'A');
	cout << "intersect: " << C4.isBoundaryIntersect(C6, C5) << endl;
	cout << "Checkpoint-------------------------------------------------" << endl;
	
	// Cell arrC [5];
	// arrC[0] = Cell(3,0,'A');
	// arrC[1] = Cell(0,4,'A');
	// arrC[2] = Cell(5,6,'A');
	// arrC[3] = Cell(10,4,'A');
	// arrC[4] = Cell(7,0,'A');
	
	// for (int i=0; i<5; i++) {
			// cout << arrC[i] << endl;
		// }
	// cout << "finish check arrC-----------------------" << endl;
	
	// Cell C7 (3,1,'A');
	// cout << "C7 inside:" << C7.isInside(5,arrC) << endl;
	return 0;
}
